Add a test for a wasm aggregate function which uses the new metrics to check if the cache has been hit at least once. Also check that the cache can get reused on different queries, by testing that the number of queries is higher than the number of cache misses. Signed-off-by: Wojciech Mitros <wojciech.mitros@scylladb.com>