added check for open body statement + unit test
Merge pull request #506 from basvandervlies/arglist_no_cp

added check for open body statement + unit test