Added tests for Validation class.