b_a = (2*x**3 + 5*x + I*(-10*x**4 + 1))/(25*x**2 + 1) for the first test case 
and as_real_imag are not able to return real and imaginary part (as we have multi-variable expression)