add_expr(): tests + nice error on duplicate alias