Substitute Mario Pasalic struck a stoppage-time winner to seal a winning send-off ahead of their opener against England.