test for multiple aliases in one string