added validator test