Fixed warning in unit test
Fixed CString formatting logic
Ignore BOM markers

Fixes issue #77