First commit of tests using gocheck
Remove abstraction mapping of C-style errors to go errors