-OSX fixes for file being used as target
-fix case issue
-Better handling of utf-16
Try to fix More issues with searhin validation on OSX
update utf-16 test