doc fix, test case fixup