Add test for the RoleRepository functions.