added repository tests