WorldT20: Pakistan beat Lanka in warm-up match