Restructure testing

* Restructured tests
* Added test in reference to https://github.com/bower/registry/pull/83
* Added timeout so travis won't timeout on tests