fixed tests that failed in TravisCI