Fix UAS Unit Test, add --cleansettings cmd line