Fix tests in python 2.6
Documentation fixes