Added test that aborts during local optimization.
Added another test that aborts during local optimization.