Added unit tests of the HTML client