SSR: improve test
fix typos
IDEA-128056 (Structural Search: exception at incorrect search template)