<html>
  <head>
  </head>
  <body>
    <script src="http://localhost:8080/dist/wormhole.js"></script>
    <script>
      var testWormhole = wormhole.open('*');

      testWormhole.subscribe('log in', function(data, respond) {
        setTimeout(function() { respond('successful log in'); }, 100);
      });

      testWormhole.subscribe('log out', function(data, respond) {
        respond('successful log out');
      });
    </script>
  </body>
</html>

<html>
  <head>
  </head>
  <body>
    <script src="http://localhost:8080/dist/wormhole.js"></script>
    <script>
      setTimeout(function() {
        var testWormhole = wormhole.open('*');

        testWormhole.subscribe('log in', function(data, respond) {
          setTimeout(function() { respond('successful log in'); }, 100);
        });

        testWormhole.subscribe('log out', function(data, respond) {
          respond('successful log out');
        });
      }, 200);
    </script>
  </body>
</html>

Make iframe delay listening in integration spec to mimic wormholes set up after page load
Make iframe delay listening in integration spec to mimic wormholes set
up after page load
