Adapt Javadoc.
Add tests for queue.