(maint) Add documentation on side effects in tests