t/helper: add test-ref-store to test ref-store functions