added unit tests for Store.clear