Fix some tests

Fix some broken tests.

I added a bower to manage dev deps, but could also go the submodule route and include BB as a submodule for now so tests are 1-1 compatible. What do you think @paulmillr?