I don't see how this is useful as an extra test. We can leave it as it was originally, but it's good to change the title. A better title would be:

it "throws an ArgumentError if a string is supplied with an invalid encoding"