Adding additional test cases
Updates to formula_template.js to support inputs as late bound functions