remove invalid test cases

There's several cases with an invalid image data, which is not invalid in fact.
For details, check the commit log.