change test framework from gocheck to testify and format