Fix tests for posts and searches.