Test ensures require_dependency accepts a Pathname