Use py.test instead of unittest and remove all doctest.