Added autoilot unittests