Added tests for looping hrough number lists