Test monotonicity and output range.