tests: avoid ORM warnings
There were a lot of warnings like this:
```
SAWarning: Identity map already had an identity for $something, replacing it
with newly flushed object. Are there load operations occurring inside of an
event handler within the flush?
```
I have no idea what I'm doing, but the warnings are now gone and tests still
work.
Related: https://pagure.io/fedora-qa/blockerbugs/pull-request/171