added test case for 0 hours for analyze