Fix the test for edit mode so that it also works on the Mac

6 jobs for 20200907-background in 217 minutes and 10 seconds (queued for 1 minute and 35 seconds)