Autotest framework