Fixed an issue removing a store in tearDown