Add ability to write the mock data and test results for API unit tests
Merge pull request #632 from markewallace/WriteMockDataAndResults

Add ability to write the mock data and test results for API unit tests