expect run_test.sh provide proper exit code

Change-Id: I39987cfdf01ad65b5b4020d0d4d34e123de87666