editor_test : keep a reference to the container div

removing all the calls to `querySelector` hopefully makes the setup a
bit more clear