User API tests.