for-loop fail test added