refactor configfiles tests

- look at the right amount of logs (not less, not more)
- separate add and edit test to avoid log collision