add findRoot && refactor tests
refactor tests
add levels for metaelement
fix set coordinate
refactor
refactor test