Update all tests for api