Updating dependencies
err returned undefined instead of null in tests