#3838 added more testcases.