Update the alternatives mocked unit tests to the new `python_shell` argument to `cmd`.