Move in-memory event-store into tests.

This class is only used as a dummy impleentation in tests.