JAL-2505 unit test for sort by feature density, Javadoc