tst: add py2.6 support for isInstance check.