Add tests for cnx-upgrade to_html and cli.py