Use marionette.title instead of element.text for checking the page title

Another instance where we were using element.text to get the page title. Corrected to marionette.title.