@Test
public void testRemoveField() {
Message lm = new Message("foo", "bar", Tools.iso8601());
lm.addField("something", "foo");
lm.addField("something_else", "bar");
lm.removeField("something_else");
assertEquals(5, lm.getFields().size());
assertEquals("foo", lm.getField("something"));