Refactor tests to use populateThreads() util func

Refactor tests to use populateThreads() helper func
Implement data checking on successful return of /createNewYarn request
Remove extraneous console.logs