Title length validation and test added