INVOKE statement tests. Fixes to CHAIN and INVOKE grammar rules.