Fix case statement syntax
FileUtils have to be required manually
Fix requiring gem in tests
Strangely the yaml representation of a string has changed in 1.9