Testing jdom in main class