update the python test script to be more precise in the type of mismatches we get