tests: ignore carriage returns in source files
tests: deal with case files not found
fix undefined global

the cobbler's children go barefoot :)
Merge pull request #1 from catwell/master

Small fixes for test suite, undefined global