Add spec for exception when failure_lines has a bad encoding