Corrects call to assertInstanceOf