added validate test cases