unit test for repo storage