test barista hook