I don't think it's worth changing the tests to do that, but you could certainly use that here, it would be better semantically.

It has an issue with testing for multiple classes though --- if they're in the wrong order, it gets them wrong, and there are other issues with it. But it reads nicely