Add test case for #353
DB: fix TreeMap Pump keyExtractor not being used.