Remove class checks in tests

Negation operator (!) was missing anyway, and even with it added
isKindOfClass: is spitting out a strange failure on a
__NSCFConstantString that shouldn’t happen, and it’s not critical to
debug Apple’s code for a test that barely matters