Added two more tests revealing problems with apply expression
Added minor fix for sequence analysis
Fixed apply expression when root is a seq enum expression (e.g. [1,2](1)) or string literal (e.g. "kitten"(1))