fix tests and update deps