Add Guard for aotomated tests