Test for bug 818454 by Abishek Arya, r=smontagu
Test for bug 894137, r=ehsan