Rewrite all assertArray()/assertClass()/assertSubClass() calls to assertInstanceOf()