(#22363) Add tests for [] without keys and unsupported LHS => error
(maint) Refactor evaluating parser tests

Duplicated context, tests outside of context moved.