add javadoc in test