tests: Fix a test that redefined a libc symbol