Adding tests to improve cog codegen coverage.