test by dom