Test invalid ID handling in wp_insert_post() and wp_update_post().

see #WP23474


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