Added test for userExists