update controller tests. Add dequeue feature