fix(cockpit): pattern matcher test