added guard for auto test