mark test as pending if output is missing; rename context type to dir on test model
When developing a test case, the test method will print the expected output if the output file is missing. This MR updates the test method to mark it as pending.
This MR also renames the type "context" on the test model to "dir" to make it agnostic to the terminology of the test runner.