Added simple test for if C code generation