Create a Fake ShareDir for your modules for testing
test_file_sharedir-1.001002-1-any
Test::File::ShareDir is some low level plumbing to enable a distribution to perform tests while consuming its own share directories in a manner similar to how they will be once installed.
This allows File::ShareDir to see the latest version of content instead of simply whatever is installed on whichever target system you happen to be testing on.