Ensure filefunc unit test works with all working dirs