Enhanced the SynchronizedQueue regression tests.