gofmt and remove unreachable code.
Allow parsing from []byte instead of requiring a file.
Also, make tests quiet unless they fail or run with -v.