Added tests for doctype and strict policy