update deps

and add more tests