use current perl in tests

Also should not hang on WIndows, without this, it opens Notepad instead of running script.