unitestifying test_stacking.py