optim on test config