This test check the following situation:

The problem was that the resource load callbacks when going back to the cached main resource were not being called.

See bug #112418.