Improve <title> fallback; Add a test