Included tests in Optimization