fitting test script