Fix memory store tests

It seems that the behavior of `memoryStore.get` has changed to be synchronous but the tests weren’t adapted. Because of that, no assertion was executed and the tests never failed.