Add test for equality with std::accumulate()