testing getFinalRevenue in default.py and changed parameters in getFinalRevenue for dependency injection