s/jar_name/jar_type/g and added test for new_jar.