Add function to run all tests in a directory