fix tests by cleaning html output