Added test cases for verifying corrupted data.