updated to run all tests from a directory