(#2342) - failing test to repro replication issue

This test reproduces the error reported in #2342.
Before the fix, it succeeds in the http-http test
but fails in the other 3 combinations. After the
fix, it passes all four.