Adding testcases from that can be found on http://people.mozilla.org/~mwargers/tests/