reworking autotest