Add DynamicValidEntityTest class.
Implement test method.