added update-test-status method to api

Change-Id: Ied7a4c10bf71e8ced6a50fb72b3b8aa88f84339f