Standardize max step calculation and fit-parameter requirements in pysawsim.test.