Add a test that forces exchange.declare-ok reply

References #177.