added test for revenue(date)
add method self.revenue(date)