Add AUTOTESTING define to all mode