Add test before Close()
Merge branch 'master' of https://github.com/gotsunami/goose