Store test results in JSON file