added tests for For, While and Do-While