Updates to API tests