more better unit tests; found some good bugs
Merge branch 'master' of https://github.com/PhantomPhreak/Counterparty