Test check_compatibility.