Try to wrap lines at around 80 characters.
Add support for Python 3.
Add a basic test case.