Fix a version-as-float comparison bug in the test.
Also allowing a way to select which of multiple installed MATLAB versions to use in the test.