Updated test case to handle single-file script detection
Added support for passing test directory to grading script (Resolves #5)