fix all unit tests and add python 2.6 build to travis