a test to use repository