Add test cases for Bug [97069ea11a].