Avoid false test fails in isType unit tests.