fix check that file is the main program so it will run tests -towards #333
fix check that file is the main program so it will run tests -towards #333

git-svn-id: fa56b3725f8795e2c24e2b4413b3767e83184823@1429859 13f79535-47bb-0310-9956-ffa450edef68

apache/bloodhound,apache/bloodhound,apache/bloodhound,apache/bloodhound