fix radom test. Cause: the method getArchivedActivityInstances doesn't filter terminal states -> waitUntill won't work. Solution: use searchArchivedActivities as it filters on terminal states