Add Guard to autorun tests