Test version constraint