Add guard for autotesting in dev.