Update dependencies
Make test cases less tolerant