Unit tests for local store