set_element/4 not working and test passing