Inline test resources.

Makes it easier to understand the test and edit it.
Flesh out spec for supporting output-per-testcase in the JUnit XML file.