Test rRpository