tests: fix tests that fail due to header relocation.