Adding a test for creating a PO.  Also some OO code changes.