add test for title length validation