Add tests for maxing out the queue and blocking