add counters tests to store.js