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