all tests on Queue passing. some refactoring to be done.