[BUGFIX] fixed tests for account and contact media

__Tasks:__

- [ ] test coverage
- [ ] gather feedback for my changes

__Informations:__

| Q             | A
| ------------- | ---
| Tests pass?   | yes
| Fixed tickets | none
| BC Breaks     | -
| Doc           | none