Fix failing HTML tests