[tests] added test case for MatthewMueller/cheerio#247