Added validator tests