added test for rental charges logic