Test case to test handling of global post in a loop that passes a post to setup_postdata() without updating global post. see #WP24330

git-svn-id: https://unit-tests.svn.wordpress.org/trunk@1289 4a5a2adb-35eb-4268-9a1b-fe04a4134342