added validate test