TST/CI/BUG: fix borked call to read_html testing code

closes #5150.