Chaned some testcase for Travis CI.