test: add tests for max and min satisfying versions