... and also mixed up parameters
JS connection tests for noreply wait
(and a fix to make them pass)