Supports automatic code-to-response conversion, and fix some tests along the way
Add tests for the new code-to-response conversion