Added autotest