TravisCI test errors fixed