Fixes #4730 Co-authored-by: tanhauhau <lhtan93@gmail.com>
Use these tests sparingly, as they will need to be updated frequently as the code generation changes.