-fix test, problem was caused by addition of license comment and using incorrect method to get the doc root element