foo: Add test case and benchmark for Baz.