test for roleService