Test refactor

Pulling common tests into helpers file to reuse same tests across different stores.