added unit test for queue (incomplete)
added get old queue