remove unused var
update deps and fix tests