base for creating validators genereration tests