contribution to issue #3

I added a test case for GenericValidation