Test script: verify storage

Keep track of all created and stored events, and make sure everything
created is stored exactly once by both fake datastores.
WIP: refactor StorageWorker for threading