Fix test: output parameter order is not the same for Python 2 and Python 3