Fixed all tests and updated dependencies.