Minor: fix a yt version check in the tests

yt-dev versions were not parsed properly because they don't follow `StrictVersion` specifications.