Remove unnecessary STATE_OK in green_new
Catch unit-test errors in run-tests.py