Make the update of test status async.

If some problem happens in updating state, the test status will still update (where as previously when an exception occurred the state would never update leaving you blind).