### Question:
NmeaUtil { public static String insertKeyValueInTagBlock(String line, String name, String value) { line = line.trim(); if (line.startsWith("\\")) { int i = line.indexOf(BACKSLASH, 1); if (i == -1) { return line; } if (i < 4) { return line; } String content = line.substring(1, i - 3); StringBuilder s = new StringBuilder(content); s.append(","); s.append(name); s.append(":"); s.append(value); String checksum = NmeaUtil.getChecksum(s.toString(), false); s.append('*'); s.append(checksum); s.append(line.substring(i)); s.insert(0, BACKSLASH); return s.toString(); } else { return line; } } private  NmeaUtil(); static boolean isValid(String sentence); static String getChecksum(String sentence); static String getChecksum(String sentence, boolean ignoreLeadingDollarOrExclamation); static NmeaMessage parseNmea(String line); static String insertKeyValueInTagBlock(String line, String name, String value); static String supplementWithTime(String line, long arrivalTime); static Talker getTalker(String s); static String createTagBlock(LinkedHashMap<String, String> tags); static String createNmeaLine(LinkedHashMap<String, String> tags, List<String> items);  }### Answer:
@Test public void testInsertNewTag() { assertEquals("\\1G3:33799,s:Point Lookout,c:1486441015,seq:12345*33\\abc", NmeaUtil.insertKeyValueInTagBlock( "\\1G3:33799,s:Point Lookout,c:1486441015*73\\abc", "seq", "12345")); }