Test that sub-classes can set the limits in the constructor