add simple repository tests