addded helper to method to render page titles, and new specs