Testing how to use a respository