Add tests for account exceptions