added the store functionality to the tests