tests: adhere to latest cb API