Update dependency versions, fix unit tests.