Add test_add_edit javascript. Upgrade relations.  [#48238383]