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