bug in test for deep output