Extended getOrCreateUser
Added corresponding TestUsers test