Start towards tests

Start towards #1. These tests aren't passing yet (small bug in autopep8), should write instructions as a script (same for hg):
```
cd tests
git init
git add bad_original.py
git commit -m 'blah'
```
In fact that probably makes sense in a script.