Flush the queue when testing.
Update test expectations.