Fix python tests and message for invalid python version available