Replace complex MongoDB test storage with trivial key-value one.