Test for store method but is failing.