Add a test for the version mismatch check