add option to use custom doctype
use html5 doctype for test files
add class name to test files