fix elem_test
got element parsing written, needs tests