tests: Fix version comparison.