Add test for #933

#993 somehow doesn't reproduce on edge, but there was no test