Add test for #933

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