params.js tests passing parameters to functions