tests: Avoid more side-effects
tests: Avoid more side-effects

This doesn't hurt existing tests, and it will be necessary for new
tests.

ideascube/ideascube,ideascube/ideascube,ideascube/ideascube,ideascube/ideascube