Fix test that no longer works after cylc/cylc#1261

Test broken after cylc/cylc#126.