test domcontentloaded