[Validator] Fix a deprecated method call in the tests

BUG FIX - Travis happier ?