integration test for users