Make Range tests run faster

Apropos https://bugzilla.mozilla.org/show_bug.cgi?id=859087.  Also has two small unrelated fixes.