fix javadocs and argument test