Edited tests
Edited codegen

Fixed some prints