test(server): refactor mocks for server parser
test(server): refactor mocks for server parser

remarkablemark/html-dom-parser,remarkablemark/html-dom-parser,remarkablemark/html-dom-parser,remarkablemark/html-dom-parser