IterationValidator test cases for trimming.