Sync Mozilla tests as of https://hg.mozilla.org/mozilla-central/rev/1cd56379b9f5 .