added test for anonymous user creation