ENH: improve example of test_prev_state_methods.py