Fixed tests after changes in the dependencies.