Title helper and tests