moved codegen to tests for now to avoid impacting coverage