Fixes to AsyncQueue tests