fix test for #1072