More complete Adversary and test_adversary, piracy starting to work