test_parser: Make this independent from test environment path

To make this able to run via testr.
test_addrconv: Fix a way to import the tested module

I'm not quite sure how it works with run_tests.sh.
But the current coding doesn't work when running via testr
probably due to different PYTHONPATH.