javadoc
junit tests.
junit tests