fix flakey shutdown cycle behaviour
convert cylc-get-config test