Implement 'whenjobs --test' to test the effect of variable setting.