go fmt
util tests and benchmarks complete
Merge pull request #2 from jbydeley/tests

Tests, benchmarks, formatting