perf: update tests to not use deprecated apis