Fix tests on new deps versions