tests: fix failing tests.