Test framework setup

What do you think? The only change is the test. Everything else was done by `gofmt` - you should be ok with that :) (not sure why your vim isn't working with that, try `:GoInstallBinaries`)