Updated repository tests