Revert "Remove unnecessary code"

This reverts commit e178f74066afb991749d2714e126f5479c76de2c.
Add bower installer update test