added save/load/replay testing in event.hs