The function successively tests all values from nbmin to
nbmax and keeps the smallest accepted one (returns an error if all
supplied values are rejected). In this case, the output value is an object of
class ageTests.
If nbmax is NULL, the results are kept even if the test is
rejected. In this case, the output value is an object of class
oneAgeTest.
The performed tests are those described in Montel et al. (1996).