A test for using repository