Added validation
Wrote test for title length