Merge pull request #1740 Updating profile test script so it now check if ‘command’ file is present in test dir.