Tests now pass (in real browsers, that is)