@Test
public void testGetWordVariables() throws IOException {

    final String properties = "word.schnick=juchee\n" +
            "word.schnack=blablabla\n" +
            "something.else=weDoNotSeeThis";
    final ByteArrayInputStream inputStream = new ByteArrayInputStream(properties.getBytes());
    variables.load(inputStream);
    final Map<String, String> wordVariables = variables.getWordVariables();
    assertEquals(2, wordVariables.size());
    assertEquals("juchee", wordVariables.get("word.schnick"));
    assertEquals("blablabla", wordVariables.get("word.schnack"));
}