Add Python 2.6 support

Trying to get unit tests working for Python 2.6.