XD-1972: fix test case