Added some tests around metric aggregation & parsing