fix test_compute_published_state.