Follow the deprecation note of 2.1 migration guide and switch to fetch(title)
correct assert order for test
unify to expected
Merge pull request #2636 from dereuromark/2.5-title-for-layout

Follow the deprecation note in the doc block of View class