added test spec for queue class