tests: Add some side effects to the static test