don't try to run tests if testthat is out of date

fixes problems with build_win