Improved unit test for tunneling bug.