tests: rewrite storage test