added unitttest shim for py2.6 support