Make sure unit test works on python 2.6