adding javadoc for test