API tests for pybitcointools.