Fixed issues with convenience script to run tests.