Add test for minVersion handling