add tests for queue class