Do the same version parsing in the integration test.

Maybe this should be DRY-ed up, but probably not a big deal for now.