fixed bug in testconnector (arguments is not an array)