Added tests for account confirmation