Reduce test cases in stack_frame_spec to 3 difr. ex classes. Extend Middleware main rescue and add specs for that.