clean test dom