Add nogui option to remove plot when ctest is run. Workaround until proper test are written by @rboman