test auto-run flag