Api test fix

Bartender, 1 "good to merge" please!