made serialization test case work in Safari