Optimization Integration tests