Add test to check if guid isn't empty when not provided. See #18310

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