JBTM-1829 Updated to ensure the ORB is shutdown before moving on to the next test