page: {id: 'second'}">
    <span id="second">second span</span>
</div>

<script type="text/javascript" src="../lib/qunit-until.js"></script>
<script type="text/javascript" src="../lib/qunit.js"></script>

<script type="text/javascript">

    $(function () {

        location.hash = '#';

        var beforeStartShowCalled = false;
        var beforeFooShowCalled = false;
        var beforeFooHideCalled = false;

        var afterStartHideCalled = false;
        var afterFooHideCalled = false;

        var vi