Fix spec test for new Store API.
Increase test coverage to 100%.