Add JS test for editing section and unit.