fix badge
Added note about bower
refactoring, and more tests