fix debug test. Resolves synchronization problems on Fast Track CI