update dependencies, fix tests