Some adjustments to get pyjd to work as well make sure all
the tests can run from scripts/tests.py