Use load_test_file to find test file

python tests run in different directory; abs path fails.
Also fix some ideaj warnings