Fixed tests for sum of reciprocal functions.