Finish test_basic for p2ptrade

Figured I would finish writing this test to familiarize myself with the code a bit. I also made a change to agent.py to prevent posting an offer if has an OID that matches the current proposal. The existing code was comparing the oid to the oid of the incoming offer, which was incorrect (there was also a TODO comment stating this as well)