Testing functionality of repository