tests: Add expect script for nativenet tests

Adds a python pexpect script for `tests/nativenet` (was developed for #1448 but is also working here)