I added this test in Bug 36461.
Created attachment 52038 [details] Patch v1
Comment on attachment 52038 [details] Patch v1 OK.
Committed r56827: <http://trac.webkit.org/changeset/56827>