wait for the reply message before checking to avoid false negative.
Waiting for the reply message will ensure that all messages being looked for exist in the logs at the time of checking. When the test was only waiting for the send message there was a race between grep and the ns1 instance of named logging that it had seen the request.
(cherry picked from commit a38a3244)
Closes #1676 (closed)