renamed test for dom2html and fixed variable scope. also added test for api completeness
renamed test for dom2html and fixed variable scope. also added test for api completeness

freddyb/html2dom,freddyb/html2dom