Removed subprocess from instancetest.py