fix(text/bower): update bower.json for test folder
refactor(historyProvider):fix return function