test-child-process-spawn-typeerror: Coding Style fixes

Fixed code per node’s style guide which was left out in
the test file for child_process#spawn bug.