Minor changes to the test-template
Changed how response is outputted to avoid invalid json-strings