[#5013] Remove custom code response tests

Since #5013 custom response codes can be assigned directly without need to extend the class.
Merge pull request #5318 from Maks3w/hotfix/5013-remove-outdated-test

[#5013] Remove custom code response tests
Merge branch 'hotfix/5318'

Close #5318