fix martini.Root for `go test` & `go run` use cases