Fix file output tests (broken by removal of Event::from_json)

Fix the tests that were failing by removal of Event::from_json - replace with call to event constructor, parsing JSON directly inside the test.