Improved test and documentation

You'll love the new test suite.