Remove test.
Add missing javadoc.