Fix composite tests for Mongo