Added unit test for UTF-8 files with BOM