Fix whitespace
Add missing tests for assertInstanceOf() and assertNotInstanceOf()
Refactor assertInstanceOf() and assertNotInstanceOf()