Fixing a bug in the perf tests where inmemory storage was used for all
tests