Test cost function is decreasiing...