Update dependencies + fix tests