fixed test error, when the first parameter of setOption is array, the second parameter could be null