add missing autotest file and rever bad changes