Added test for doctype method on outputrules.