Added tests for UTF-8-BOM-CR, UTF-8-BOM-LF and UTF-8-BOM-CRLF.