@Test
public void testBuildDimensionTag() throws JDOMException {

    Element dimensionTag = formatter.buildDimensionTag(6);
    assertEquals("dimension", dimensionTag.getName());
    assertEquals(0, dimensionTag.getContent().size());
    assertEquals(2, dimensionTag.getAttributes().size());
    assertEquals("keyword", dimensionTag.getAttributeValue("name"));
    assertEquals("Keywords", dimensionTag.getAttributeValue("label"));
}