added code for testing fitParameterSpecModels