Consider an extreme case in the test:
Cookie domain: .127.0.0.1
Actual domain: 127.0.0.1
This cookie shouldn't be matched