* tests for ip.py * migrate to pytest * Update asserts * Update tests --------- Co-authored-by: Arkadii Yakovets <arkadii.yakovets@owasp.org>