Fix failing test (no nil pointer dereference)
Run gofmt