test OutputProgressObserver and fix failure when data=None