Test expansion of keyword aliases in term definitions