updating composer dependencies and fixing tests