add test for curly behavior in defExpr