tests: skip rather than failing when perl is not available