Corrections in htmlunit tests