[BUG #7260] Fixed dispose test for slow browsers.