You can do that, but you don't need to pass the code. The general theory test is divided into two sections, the first part is a 35 question test, commonly called the technician written. The second part is a 35 question test commonly called the general written. You pass those two tests and you get a general license. The code tests don't count for anything now towards a license upgrade.