fix unit test that only worked on Memory (sync) storage but not on async storages.
fix unit test that only worked on Memory (sync) storage but not on async storages.

pubkey/rxdb,pubkey/rxdb,pubkey/rxdb,pubkey/rxdb,pubkey/rxdb