fix-up tests and docs.