Fix edit behavior and add unit tests (!)

2 jobs for v2.3 in 2 minutes and 1 second (queued for 1 second)
Status Job ID Name Coverage
  Test
passed #10237
Go-py3.7

00:01:02

 
  Lint
passed #10238
Go-flake8

00:00:58