[JBTM-2242] Wait for test threads before making assertions

!BLACKTIE !QA_JTA !QA_JTS_JACORB !XTS