fixed unit tests and gofmt
Merge pull request #44 from eyakubovich/master

fixed unit tests and gofmt