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
jshint doesn't play nicely with chai when using expect() notation https://github.com/chaijs/chai/issues/41.

https://github.com/bower/registry/pull/83/files#diff-08e28e98a118d512b13f4fc7423da77aR33 is an example of this.