A few changes to tests and code

- move the easy pkg test to easy_test.go
- use gocheck directly rather than through gopkg.in
- use a switch in place of chained ifs in gotxs.go