patch applied, test added, and re-structured tests

This is an expedited request to get functionality back.  Tests to follow.

https://github.com/bower/registry/commit/f894b576da046d3d508b17b88672e152db4a39b7
I chose not to combine because PORT is used in multiple places (L9, L15), providing a one spot change rather than two if someone wants to change the port.