Add tests for accounts