Add tests for accounts cookbook