Merge pull request #3274 from cloudant/fix-mango-tests

Fix mango tests