Fix tests for post_index