Improve tests for form contentType and update dist file