code: def testLastStatistic(self):
      p = Pool(
          {
              "foo": [1, 2, 3, 4, 5],
              "foo_vector": [[1, 2, 3], [4, 5, 6], [7, 8, 9]],
          }
      )
  
      results = PoolAggregator(defaultStats=["last"])(p)
  
      self.assertTrue(results.containsKey("foo"))
      self.assertTrue(results.containsKey("foo_vector"))
  
      self.assertAlmostEqual(results["foo"], 5)
      self.assertAlmostEqualVector(results["foo_vector"], [7, 8, 9])
  
file_path: essentia/test/src/unittests/stats/test_poolaggregator.py
imports: from essentia_test import *
label_desc: Use image node_id 13 for calling the TestPoolAggregator obj's underlying member method code with example usage: obj.testLastStatistic() without return types