Fixed loop in example test
Merge pull request #1 from melanz/master

Fixed loop in example test