public Configuration loadConfiguration(String fileName) throws UnitTestException {
Document document = loadXML(fileName);
NodeList nodeList = document.getElementsByTagName(ROOT_ELEMENT);
if (nodeList.getLength() != 1)
throw new UnitTestException("Configuration file's " + fileName + " format is not valid.");
Node rootElement = nodeList.item(0);
Configuration configuration = new Configuration();
NodeList childNodes = rootElement.getChildNodes();
for (int i = 0; i < childNodes.getLength(); i++) {