Optimizer integration tests added