fix auto tests