Finished the test method test_element_preview_and_placement()

and implemented the edit element (still nonfunctional).