Improve test_instantiator.py