Fixes randomly failing test testSlowStore

Fixes randomly failing test testSlowStore