Convert tests to use gocheck