Fix  front end unit tests in travis