Added test for mongo metadata fetching all roles for multiple entities, including one that does not have a default version