Added validator test