Fixed tests on windows
Merge pull request #5720 from GrahamCampbell/4.2-windows

[4.2] Fixed Tests On Windows
Add iterable validator method and tests

Signed-off-by: Graham Campbell <graham@mineuk.com>