moved test code in exptree.py to test_exptree.py