Require pathname library in the test that uses it