fix test for purchase order