Nick Compton was retained as Alastair Cook's opening partner for England's warm-up match against a New Zealand XI in Queenstown.