Add tests for account views