small fixes for html in pydot, add new tests