Corrected childProcess variable

Sorry, I messed up the variables here. If I were to write tests for this, what framework would you prefer?