Initial tests based on check framework

https://gopkg.in/check.v1