Implemented GetOrderByPartnerId test and cleaned up copy-pasta