fixing assignRoles to user test case