use nose assertions
improved procurement / purchase logic

In a MTO case, two procurements are generated, and it is the second one
that is to be attached to the purchase order