Add test of create_javadoc (#14321)