update tests conforming to requests API