Make perl encoder test pass even without a decoder installed
Try to find the uninstalled encoder in the adjacent directory

so we can execute more perl decoder tests on a system when
no encoder is installed.
Make sure that subroutines are imported

and fix that test that I broke in the grand-parent patch.
Fix a format compilation warning