don't run gui for testcases

--nodisplay avoids running the gui part of the code.