test(view): direction detection should work with params in state url

Added three expectations regarding the direction detection when the
state url has a parameter in the state URL which is not the last URL segment.