Add missing tests for assertAttributeInstanceOf() and assertAttributeNotInstanceOf()