[#5013] Remove custom code response tests

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

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

Forward port #5318