Add a test to show that `matchEmoji` is aware of custom emojis. Also changes how aliases are handled (aliases are no longer correlated to each other and there's no preference for the main alias).