Refactor the Queues test case a little based on feedback from Jim.
Add queues tests for when libBacktraceRecording is absent.