Change how page title is displayed, add necessary test