Queue testing