convert testing to gocheck