Doc fixes.
Better import behavior + tests.
Added coverage checking & a simple runner.
Fixed a couple failures that have crept in.