test lmfit fitting class