Move to parser 'parse5'
Refactor tests