ad test for 'for' statements