Update dependencies, fix tests