Better docs and better testing

You'll really enjoy what I did to the test suite.