add test for cases where the dom is symmetrical
fix