added some tests cases for validation