tests for global.go
Merge branch 'matt-working' of https://github.com/schallert/lime into matt-working