Well, the require just was there before my pull request. Could it be that the tests passed because require 'pathname' is present in the test file? I guess that this require should be moved to the initialize method where Pathname is used for the first time.