add test for Metric#total
change the list to expect a date range