fix case-test tag handling