fix validators tests broken loop logic
remove debug console.log
Merge pull request #1356 from thanpolas/fix-validator-test-logic

fix validators tests broken loop logic