Add integration test for account management