Added tests for referenceManyEmbed