fixes test with updated bakery api