Bug 840098 - Add mochitest. r=bzbarsky