findOneAndUpdate failing when setting an array property to null/undefined
Adding test for gh-1643 - allowing array properties to be set to null
refactor