Provide tests cases for #10197 and #10198