Fix version check.
Add unittest2 to tests_require on python2.6