validating when is a test class and is not a test class.