updated tests after DOM modifications