Added unit tests for the ValidationFailureHandler class