Fix tests

- Fix test when venture is none
- Fix test when there is not IP