Remove another unused test file
Add a test for invalid text inputs

Check that the error message reports the offset at which decoding failed.