Updates testcases so handlers created before api calls are made