fix AutotestTest