updated bower resources and fix failing tests