refactor(hoodieStore): add tests, more clarity