tests(karma) fix test and add travis