Fixed the argument checks for transact and added unittests.
Merge pull request #11 from zerok/pull-requests/transact-args

Transact doesn't work for token-requests anymore