Testing and optimizing code generation =)