Change validator tests to not use long syntax (it is python 3 incompatible)