test validation in TestCase creation