fix elements unit tests
fix all unit tests