test sequence generator for testing queues