test for user creation failure cases