Test: \frac {A}{x-1} + \frac {B}{(x-1)^2} + \frac {C}{x+1} + \frac {D}{(x+1)^2}