reimplmented for-loops

reimplemented for-loops in  file test_poke_normal_case and checked test-cases for poke-function