Added test name validation to the test