ENGINE-1520: Fix test