Add javadocs to unit test