Add tests for get_customer_history