@Test
public void testGetMainCategory() {

    try {
        Category c = metaData.getMainCategory();
        assertNotNull(c);
        assertEquals(1, c.getPageId());
    } catch (WikiApiException e) {
        fail("A WikiApiException occurred while getting the main category: " + e.getLocalizedMessage());
    }
}