Test for secure queues. Fix #124