update tests/api