Updated dependencies and fixed tests.