added test cases for #10197