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

Fix the tests for the file output.