diff --git a/phy/detect/tests/test_store.py b/phy/detect/tests/test_store.py
index <HASH>..<HASH> 100644
--- a/phy/detect/tests/test_store.py
+++ b/phy/detect/tests/test_store.py
@@ -129,4 +129,5 @@ def test_spikedetekt_store(tempdir):
                 else:
                     assert data is None
 
-        store.spike_counts
+    # Test spike counts.
+    test_spike_counts(store.spike_counts)
Test spike counts with spike detection store.