REFACTOR: Update the error tests to not use gocheck but use testify/assert. Use a helper too.