Updated dependencies and fixed test