Repository provider implemented, tests added