passed class_name to the eval
Wrote more tests for ValidationFailedForInlineTypeConstraint