Added a test for ValidationResultBase.