aligned test to libmacaroons example