Test nested patterns: $ ====