Adding temporary file for testing without rspec and adding switch in run_runmanager.rb to use the normal waitForFinished method