Fix pkg tests to actually compile.
Try with a PATH.