Fix test harness to work with BOM files.

We were failing on testing files with BOM characters in them
as node translates the BOM character to 0xFEFF when reading
it in. Solution was to replace 0xFEFF with the correct code
point sequence and pass that to the parser.