Add tests for request queue + tmpSocket functionality