fixed error in auto tests