added test for TQueue