Make alias aware of array of consumers
Fix tests