Re-enabled all optimizations in regression tests