updated repository tests