fixed and simplified store test.