Small documentation fixes and test code changes