Test that setting document.title creates a title element and appends it to the documents head if one does not already exist, as per http://whatwg.org/specs/web-apps/current-work/#the-title1.

Expected 0, got 0: PASS

Expected 1, got 1: PASS