Completed sqlite3 eventStore and tests