WEB-1598: fixed isContext for groups and tests.