updates dependencies and adds test