#780 - add test, add missing return statement for bogus TOU tariff case