integration test case for registration