Added unit test for Validation class