Add title helper and tests