Added a check for the supplied version before running tests.