[build] Fix failing tests.