Upgrade composer packages and fix test