tests: using execFile instead of spawn