Added guard testing