tests for title and sort_title