more tests, doc updates, & minor bug fixes