Fix HTML markup in dependencies partial

Noticed `<li>` tag was not added for unresolved dependencies.

Also added a test scenario for pushing a gem with a dependency on an existing gem.