fixed missed test and cleanup javadocs