EXEC statement grammar and tests