fix test for merchant.revenue for range of dates