Ch 4: create helper function to return page title, and test it