gofmt and add a couple of tests
Merge pull request #1 from aaylward/test

gofmt and add a couple of tests