storagetest: check that we actually get the value we expected