testing validator