[build] Fixed failing tests.