Fix check test failure for FF 3.6

TIL sometimes JSON.stringify can convert new lines to "\u000a" as supposed to "\n".