stub out Alpine::API in several callback-invoking specs