ENGINE-1819: add test