Added test with sum_squares.