Add test for tag length mismatches.