testing rate_increase calculation