Tests for 975910

https://bugzilla.mozilla.org/show_bug.cgi?id=975910