Add a test for having only max specified.