Fix method of calling the test scripts so __file__ will be set properly