[#5013] Remove custom code response tests

Since #5013 custom response codes can be assigned directly without need to extend the class.