Fixing tests. Updated dependency versions.