I mean comparing of the equivalence of returned html text is not good idea. It is better to check returned attributes.