add 2 more test cases and minor doc fixes