test(package): converting tests to gocheck
test(package): making base struct