Add unit test for Christina's edge case
Rename publish_state to visibility_state