Some minor documentation fixes and tests.