Don't use instanceof in TestHelper