Fix some issues exposed by the test.
Created attachment 56261 [details] Patch
Fixed in r59624.
http://trac.webkit.org/changeset/59624 might have broken GTK Linux 32-bit Debug