Added tests for several queue methods