Tests, javadocs