remove tabs and whitespace
remove BOM's from shims

plus a test