Integration test for user registration