test($anchorScroll): add tests regarding waiting for `readyState === 'complete'`