Allow grading script to pass a folder to a test script instead of just a
file.