Testing use of repository