Adding more tests of the queue methods to q_tests.py