Added -Djava.awt.headless when executing unittests