add codegen test for poly/ltuple