javadoc and tests