England win warm up match against Pakistan