Added test case TestRoleAssignmentBeforeUserExists, to validate patch for issue #421