Fix for failing test. (withGui flag in constructor - probalby it need to
be changed)