correcting duplication in queue test