Tidy up when JSON errors
Add dependencies for OC Mock, and add a test for the request runner