code to be tested: purchaseOrder and purchase_order_entry