Added ordersHistory. Fix test