Update tests
Move MemoryEventStore to separate file
Add TraceEventStore wrapper for use in testing and debugging