[Misc] Add missing javadoc + reorder to have tests first