Fix initial failing test by waiting for async process to finish.
Fix initial failing test by waiting for async process to finish.

FNNDSC/ChRIS_ultron_backEnd,FNNDSC/ChRIS_ultron_backEnd,FNNDSC/ChRIS_ultron_backEnd,FNNDSC/ChRIS_ultron_backEnd