update encoding test to be more relaxed about error message

* haml 4.0.0 on rbx-2.0.0 escaped the encoding message causing the tests to fail.