[Bug 31789] Fix handling of jscript/vbscript tests