Require pathname library in the test that uses it

It Worked On My Machine™

But apparently not in Travis :facepalm: