Fixes the test using intended function and exact arguments.
HTML document reference discovery.
HTML document resource discovery on EPUB adaptation.