tests: use perl in whitespace tests