fix the funcitonal tests to pass a list of outputs