Adds testcases for the code_generator