As I said, second test was added because it was not clear from the issue description which one is required.
Another problem is that server responds with 500 Internal error in ajax request on edit tag page, so it can not be verified this way.

I think there is some other way to check that cases are attached to tag, but I need to investigate that further.