fix cart tests and refund server error