Added Validators and test cases for Checking the validators