validation test added for title