Fixes test and adds bower dependency in travis file