tests: Remove write-only variables.